package cn.hua.trip.base.service;

import cn.hua.trip.base.domain.TravelCommend;
import cn.hua.trip.base.query.StrategyQueryObject;
import cn.hua.trip.base.query.TravelCommendQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ITravelCommendService {

    PageInfo<TravelCommend> query(TravelCommendQueryObject qo);

    void saveOrUpdate(TravelCommend travelCommend);

    PageInfo<Map> queryForListApp(TravelCommendQueryObject qo);


    List<Map> selectTravelCommendByState(TravelCommendQueryObject qo);


    PageInfo<TravelCommend> selectTravelCommendByType(TravelCommendQueryObject qo);

}
